<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<html>
<head lang="en">
  
    <title>超市订单管理系统</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/style.css" />
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath }/statics/css/public.css" />
    <script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript">
    	function getCurrentTime(){
    		var now = new Date();
    		var str = now.getFullYear()+"年"+(now.getMonth()+1)+"月"+now.getDate()+"日";
    		str += " "+now.getHours()+":"+now.getMinutes()+":"+now.getSeconds();
    		var day  = now.getDay();
    		switch(day){
    			case 0:
    				str += " 星期天";
    				break;
    			case 1:
    				str += " 星期一";
    				break;
    			case 2:
    				str += " 星期二";
    				break;
    			case 3:
    				str += " 星期三";
    				break;
    			case 4:
    				str += " 星期四";
    				break;
    			case 5:
    				str += " 星期五";
    				break;
    			case 6:
    				str += " 星期六";
    				break;
    		}
    		
    		$("#time").html(str);
    		
    	}
    	setInterval("getCurrentTime()",1000)
    </script>
</head>

<body>
	<header class="publicHeader">
        <h1>超市订单管理系统</h1>
        <div class="publicHeaderR">
            <p><span>下午好！</span><span style="color: #fff21b"> </span> ${sessionScope.loginUser.username }, 欢迎你！</p>
            <a href="logout">退出</a>
        </div>
    </header>
<!--时间-->
    <section class="publicTime">
        <span id="time"></span>
        <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器！（IE10+）</a>
    </section>
 <!--主体内容-->
 <section class="publicMian ">
     <div class="left">
         <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
         <nav>
             <ul class="list">
                  <li><a href="toBillList">订单管理</a></li>
				  <li><a href="list.html">供应商管理</a></li>
				  <li><a href="toUserList">用户管理</a></li>
				  <li><a href="">角色管理</a></li>
				  <li><a href="">密码修改</a></li>
				  <li><a href="logout">退出系统</a></li>
             </ul>
         </nav>
     </div>

